//
//  JLFlutterBluetoothPluginNotificationConst.h
//  Pods
//
//  Created by 凌煊峰 on 2021/7/28.
//

#ifndef JLFlutterBluetoothPluginNotificationConst_h
#define JLFlutterBluetoothPluginNotificationConst_h

#pragma mark - 系统相关Key
#define JLAPPLICATIONWILLENTERFOREGROUNDNOTIFICATION @"JLApplicationWillEnterForegroundNotification"    // 后台进入前台系统通知
#define JLPHONEBLUETOOTHISNOTENABLED @"JLPhoneBluetoothIsNotEnabled"    // 未开启手机蓝牙

#pragma mark - BLE设备连接相关Key
#define JLBLESTARTSCANDEVICE @"JLBleStartScanDevice"    // 开始扫描设备
#define JLBLESETFILTER @"JLBleSetFilter"      // 设置蓝牙过滤
#define JLBLEGETFILTER @"JLBleGetFilter"      // 获取蓝牙过滤
#define JLBLEUPDATEDEVICELISTVIEW @"JLBleUpdateDeviceListView"    // 更新设备list view
#define JLBLEGETDEVICECONNECTED @"JLBleGetDeviceConnected"    // 获取蓝牙设备是否连接
#define JLBLEDEVICEREQUIRECONNECT @"JLBleDeviceRequireConnect"    // 请求连接蓝牙设备
#define JLBLEDEVICECONNECTED @"JLBleDeviceConnected"    // 蓝牙设备已连接
#define JLBLEDEVICECONNECTREFUSE @"JLBleDeviceConnectRefuse"    // 蓝牙设备拒绝连接
#define JLBLEDEVICEREQUIREDISCONNECT @"JLBleDeviceRequireDisconnect"    // 请求断开蓝牙设备
#define JLBLEDEVICEDISCONNECTED @"JLBleDeviceDisconnected"    // 蓝牙设备已断开连接

#pragma mark - OTA升级相关Key
#define JLOTAGETFILELIST @"JLOTAGetFileList"  // 获取ota文件夹数组
#define JLOTASETSELECTFILEPATH @"JLOTASetSelectFilePath"  // 设置ota文件路径
#define JLOTAGETSELECTFILEPATH @"JLOTAGetSelectFilePath"  // 获取ota文件路径
#define JLOTAGETBLEDEVICEINFOANDSTARTOTAUPGRADE @"JLOtaGetBleDeviceInfoAndStartOtaUpgrade"  // 获取ble设备信息并开始OTA升级
#define JLOTABLEDEVICEREADYTORESTART @"JLOtaBleDeviceReadyToRestart"  // ble设备准备重启
#define JLOTABLEDEVICERECONNECT @"JLOtaBleDeviceReconnect"  // ble设备重连
#define JLOTAUPGRADEPREPARING @"JLOtaUpgradePreparing"  // ota升级准备中
#define JLOTAUPGRADEPREPARED @"JLOtaUpgradePrepared"  // ota升级准备完成
#define JLOTAUPGRADING @"JLOtaUpgrading"  // ota升级中
#define JLOTAUPGRADESUCCESS @"JLOtaUpgradeSuccess"  // ota升级成功
#define JLOTAUPGRADEFAILED @"JLOtaUpgradeFailed"  // ota升级失败
#define JLOTAUPGRADEFILEKEYERROR @"JLOtaUpgradeFileKeyError"  // 升级文件KEY错误
#define JLOTAUPGRADEFILEERROR @"JLOtaUpgradeFileError"  // 升级文件错误
#define JLOTAUPGRADECLOSEOVERTIMECHECK @"JLOtaUpgradeCloseOverTimeCheck"  // 关闭超时检测

#endif /* JLFlutterBluetoothPluginNotificationConst_h */
